home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / errno.h < prev    next >
C/C++ Source or Header  |  1989-08-30  |  1KB  |  36 lines

  1. /* Copyright Manx Software Systems, Inc. 1988.  All rights reserved */
  2.  
  3. #ifndef __ERRNO_H 
  4. #define __ERRNO_H 
  5.  
  6. extern int errno;
  7.  
  8. #define ENOENT    1        /* No such file or directory */
  9. #define E2BIG    2        /* Argument list too long */
  10. #define EBADF    3        /* Bad file descriptor */
  11. #define ENOMEM    4        /* Not enough memory */
  12. #define EEXIST    5        /* File (already) exists */
  13. #define EINVAL    6        /* Invalid argument */
  14. #define ENFILE    7        /* Too many open files in the system */
  15. #define EMFILE    8        /* Too many open files in a process */
  16. #define ENOTTY    9        /* Not a console device */
  17. #define EACCES    10        /* Permission denied */
  18. #define EIO        11        /* I/O error (physical, usually) */
  19. #define ENOSPC    12        /* No space left on device */
  20. #define ERANGE    13        /* (math) Result too large */
  21. #define EDOM    14        /* (math) Argument domain error */
  22. #define ENOEXEC    15        /* (f)exec format error */
  23. #define EROFS    16        /* Read-only file system */
  24. #define EXDEV    17        /* Cross-device rename */
  25. #define EAGAIN    18        /* Nothing to read */
  26.  
  27. #if !__STDC__ /* non ANSI C definitions */
  28.  
  29. extern char *sys_errlist[];
  30. extern int sys_nerr;
  31.  
  32. #endif /* !__STDC__ */
  33.  
  34. #endif
  35.  
  36.